<div class="modal" tabindex="-1" role="dialog" style="text-align: left;">
    <div class="modal-dialog" style="min-width: 50%; max-width: 50%; width: 50%; top: 45%;">
        <div class="modal-content">
            <div class="modal-header" ng-show="title">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title hyc-inner-block" ng-bind-html="title"></h4>
            </div>
            <div class="modal-body">
                <table class="table table-bordered" style="margin-bottom: 0;">
                    <tr style="background-color: #ffffff;">
                        <th>订单编号：</th>
                        <td>{{DWaybillDetailVo.orderCode}}</td>
                        <th>姓名：</th>
                        <td>{{DWaybillDetailVo.driverName}}</td>
                        <td rowspan="6" style="width: 170px;">
                            <div>
                                <div ng-bind-html="DWaybillDetailVo.deliveryPicHtml | trustHtml" style="margin-bottom: 10px;"></div>
                                <p class="text-center">司机本人照片</p>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <th>起运地：</th>
                        <td>{{DWaybillDetailVo.departAddr}}</td>
                        <th>电话：</th>
                        <td>{{DWaybillDetailVo.driverPhone}}</td>
                    </tr>
                    <tr>
                        <th>目的地：</th>
                        <td>{{DWaybillDetailVo.arrivalAddr}}</td>
                        <th>车型：</th>
                        <td>{{DWaybillDetailVo.dWaybillVehicle[0].vehicleTypeName}}</td>
                    </tr>
                    <tr>
                        <th>实际在途时间：</th>
                        <td ng-class="{true: 'hyc-font-color-red'}[DWaybillDetailVo.isRed]">{{DWaybillDetailVo.hours}}（小时）</td>
                        <th>标准在途时间：</th>
                        <td>{{DWaybillDetailVo.bHours}}（小时）</td>
                    </tr>
                    <tr>
                        <th>经销商位置：</th>
                        <td colspan="3">{{DWaybillDetailVo.arrivalAddress}}</td>
                    </tr>
                    <tr>
                        <th>交车位置：</th>
                        <td colspan="3">
                            {{DWaybillDetailVo.photoAdderss || '无法获取交车位置信息'}}
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5" style="height: 250px;">
                            <div class="row hyc-line-height-30" ng-show="DWaybillDetailVo.deliveryCheckStatus == '0'">
                                <div class="col-md-12">
                                    <div class="padding5" style="overflow-x: hidden;">
                                        <div class="text-center">
                                            <div class="thumbnail hyc-thumbnail" ng-repeat="item in attach  track by $index" ng-class="{true: 'margin-right20'}[$index != 2]">
                                                <div ng-if="item.type == '3010'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <element ng-if="uploader">
                                                        <input type="file" nv-file-select="" uploader="uploader" multiple style="display: block; width: 179px; height: 38px; top: 170px; left: 0; opacity: 0; cursor: pointer; position: absolute;">
                                                    </element>
                                                    <p class="text-center">点击上传单据照片</p>
                                                </div>
                                                <div ng-if="item.type == '3020'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <element ng-if="uploader">
                                                        <input type="file" nv-file-select="" uploader="uploader2" multiple  style="display: block; width: 179px; height: 38px; top: 170px;left: 0; opacity: 0; cursor: pointer; position: absolute;">
                                                    </element>
                                                    <p class="text-center">点击上传交车照片</p>
                                                </div>
                                                <div ng-if="item.type == '3030'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <element ng-if="uploader">
                                                        <input type="file" nv-file-select="" uploader="uploader3" multiple  style="display: block; width: 179px; height: 38px; top: 170px; left: 0; opacity: 0; cursor: pointer; position: absolute;">
                                                    </element>
                                                    <p class="text-center">点击上传合影照片</p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row hyc-line-height-30">
                                <div class="col-md-12">
                                    <div class="padding5" style="overflow-x: hidden;" ng-show="DWaybillDetailVo.deliveryCheckStatus == '1'">
                                        <div class="text-center">
                                            <div class="thumbnail hyc-thumbnail" ng-repeat="item in attach  track by $index" ng-class="{true: 'margin-right20'}[$index != 2]">
                                                <div ng-if="item.type == '3010'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <p class="text-center">单据照片</p>
                                                </div>
                                                <div ng-if="item.type == '3020'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <p class="text-center">交车照片</p>
                                                </div>
                                                <div ng-if="item.type == '3030'">
                                                    <div ng-bind-html="item.picHtml | trustHtml" ng-click="showBigImg(item.picKey)" style="margin-bottom: 10px;"></div>
                                                    <p class="text-center">合影照片</p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="modal-footer" style="text-align: center;" ng-class="{true: 'hyc-display-none'}[DWaybillDetailVo.deliveryCheckStatus == '1']">
                <button type="button" class="btn btn-sm btn-warning" ng-click="showCheckTimeDlg()" style="background-color: #45c11c; margin-right: 150px; border-color: #45c11c;">审核通过</button>
                <button type="button" class="btn btn-sm btn-warning" ng-click="showErrorDlg()" style="background-color: #00aff0; border-color: #00aff0;">交车异常</button>
            </div>
        </div>
    </div>
</div>